<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class PostTopic extends Model
{
    //两者二选一即可
    // protected $guarded = [];//不可以注入的字段
    protected $fillable = ['post_id','topic_id'];//可以注入的字段
}
